﻿<Page x:Class="App43.MainPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      xmlns:local="using:App43"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
      mc:Ignorable="d">

    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <StackPanel HorizontalAlignment="Center"
                    VerticalAlignment="Center"
                    Orientation="Horizontal">
            <StackPanel.Resources>
                <Style TargetType="Button">
                    <Setter Property="Margin" Value="10,20,10,0" />
                    <Setter Property="Width" Value="150" />
                </Style>
            </StackPanel.Resources>
            <Button Click="btnShowWindow_Click" Content="Show Window" />
            <Button Click="btnCheckIsAlive_Click" Content="Check IsAlive" />
            <Button Click="btnClose_Click" Content="Close View" />
        </StackPanel>
    </Grid>
</Page>
